namespace CosyTrade.UI
{
    public class CommandMenuItem : MenuItemBase
    {
        private string pluginKey;
        private CommandMenuItemHandler onClickFunctions;
        
        public string PluginKey
        {
            get { return pluginKey; }
            set { pluginKey = value; }
        }

        public CommandMenuItemHandler OnClickFunctions
        {
            get { return onClickFunctions; }
            set { onClickFunctions = value; }
        }
    }

    public delegate void CommandMenuItemHandler(object sender, params object[] args);
}